package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.pojo.SetmealCheckgroup;
import com.zj.healthmanage.mapper.SetmealCheckgroupMapper;
import com.zj.healthmanage.service.SetmealCheckgroupService;
@Service
public class SetmealCheckgroupServiceImpl implements SetmealCheckgroupService{

    @Resource
    private SetmealCheckgroupMapper setmealCheckgroupMapper;

    @Override
    public int deleteByPrimaryKey(Integer setmealId,Integer checkgroupId) {
        return setmealCheckgroupMapper.deleteByPrimaryKey(setmealId,checkgroupId);
    }

    @Override
    public int insert(SetmealCheckgroup record) {
        return setmealCheckgroupMapper.insert(record);
    }

    @Override
    public int insertSelective(SetmealCheckgroup record) {
        return setmealCheckgroupMapper.insertSelective(record);
    }

}
